﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SRAGWMCLib
{
    public class Filter
    {
        int _NumPairs, _SpatialOperator;
        string _WhereClause;
        object[] _Points; //= new object[] { -315432.33, 8909.76, 104033.34, -837648.24, 485365.78, -219889.71 };

        public int NumPairs
               {
                   get
                   {
                       return _NumPairs;
                   }
                   set
                   {
                       _NumPairs = value;
                   }
               }

        public int SpatialOperator
               {
                   get
                   {
                       return _SpatialOperator;
                   }
                   set
                   {
                       _SpatialOperator = value;
                   }
               }

        public string WhereClause
               {
                   get
                   {
                       return _WhereClause;
                   }
                   set
                   {
                       _WhereClause = value;
                   }
               }

        public object[] Points
               {
                   get
                   {
                       return _Points;
                   }
                   set
                   {
                       _Points = value;
                   }
               }


        public Filter(string pWhereClause, object[] pPoints, int pNumPairs, int pSpatialOperator) 
        {

            _WhereClause = pWhereClause;
            _NumPairs = pNumPairs;
            _SpatialOperator = pSpatialOperator;
            _Points = pPoints;
            
        }

    }
}
